package com.ssy.lingxi.order.model.bo;

import java.io.Serializable;

/**
 * 订单发货结果
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-22
 */
public class OrderDeliveryBO implements Serializable {
    private static final long serialVersionUID = -1661240015071251077L;

    public OrderDeliveryBO(Boolean noDeliveryProducts) {
        this.noDeliveryProducts = noDeliveryProducts;
    }

    public OrderDeliveryBO(Integer taskJumpParameter, Integer batchNo, String deliveryNo, Boolean deliveryDone) {
        this.taskJumpParameter = taskJumpParameter;
        this.batchNo = batchNo;
        this.deliveryNo = deliveryNo;
        this.noDeliveryProducts = false;
        this.deliveryDone = deliveryDone;
    }

    /**
     * 流程跳转参数
     */
    private Integer taskJumpParameter;

    /**
     * 发货批次
     */
    private Integer batchNo;

    /**
     * 发货单号
     */
    private String deliveryNo;

    /**
     * 是否有要发货的商品
     */
    private Boolean noDeliveryProducts;

    /**
     * 是否全部发货完成
     */
    private Boolean deliveryDone;

    public Integer getTaskJumpParameter() {
        return taskJumpParameter;
    }

    public void setTaskJumpParameter(Integer taskJumpParameter) {
        this.taskJumpParameter = taskJumpParameter;
    }

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }

    public String getDeliveryNo() {
        return deliveryNo;
    }

    public void setDeliveryNo(String deliveryNo) {
        this.deliveryNo = deliveryNo;
    }

    public Boolean getNoDeliveryProducts() {
        return noDeliveryProducts;
    }

    public void setNoDeliveryProducts(Boolean noDeliveryProducts) {
        this.noDeliveryProducts = noDeliveryProducts;
    }

    public Boolean getDeliveryDone() {
        return deliveryDone;
    }

    public void setDeliveryDone(Boolean deliveryDone) {
        this.deliveryDone = deliveryDone;
    }
}
